<link rel="stylesheet" type="text/css" href="/Public/client/css/index.css">
<section class="content-wrap" ng-controller="indexCtr">
	<div class="container">
		<div class="row">
			<main class="col-md-8 main-content" infinite-scroll='loadMore()' infinite-scroll-distance='2'>
				<article class="post" ng-repeat='item in items'>
					<div class="post-head">
						<h1 class="post-title">
							<a href="/#/content?post_id={{item.post_id}}">{{item.post_title}}</a>
						</h1>
						<div class="post-meta">
							<span class="author">
								作者：
								<a href="javascript:;">{{item.post_admin}}</a>
							</span>							
							<span>{{item.post_type}}</span>
							<time class="post-date">{{item.post_createtime}}</time>
							<span class="goodCount">赞 {{item.goodCount}}</span>
						</div>
					</div>
					<div class="post-content">
						<p>{{item.post_text}}</p>
					</div>
					<div class="featured-media">
						<a href="/#/content?post_id={{item.post_id}}">
							<img ng-src="{{item.post_image}}"></a>
					</div>
					<div class="post-permalink">
						<a href="javascript:;" ng-click="good(item)" class="iconfont icon-good {{item.isGood}}" title="很好"></a>
						<a href="/#/content?post_id={{item.post_id}}" class="" title="阅读全文">前往</a>
					</div>
				</article>
				<div class="no-more">{{noMore}}</div>
			</main>
			<aside class="col-md-4 sidebar">
				<div class="widget">
					<h4 class="title">墓志铭</h4>
					<div class="content community">
						<p>旧时几多事，都付笑谈中</p>						
					</div>
				</div>
			</aside>
		</div>
	</div>
</section>


